﻿using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {
	public int nameY=200;
	public int buttonWidth=150;
	public int buttonHeight = 20;
	public string title = "Welcome To Project Save Earth";


	void OnGUI(){

		GUI.Label (new Rect (Screen.width/2-100, nameY, 500, 50), title);

		if (GUI.Button (new Rect (Screen.width / 2 - buttonWidth / 2, Screen.height / 2 - buttonHeight / 2, buttonWidth, buttonHeight), "Start Game")) {
			Application.LoadLevel("Level 1");
				}
	}
}
